Skip to content

Assignment 2 - Inflammation Analysis #2

Open
Lynn-Kwon wants to merge 3 commits intomainfrom
assignment-2
Open

Assignment 2 - Inflammation Analysis #2
Lynn-Kwon wants to merge 3 commits intomainfrom
assignment-2

Conversation

@Lynn-Kwon
Copy link
Copy Markdown
Owner

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

Implemented analysis for the arthritis inflammation dataset by reading the CSV files, summarizing patient flare-ups with patient_summary, and checking for data issues with detect_problems.

What did you learn from the changes you have made?

I learned how to use NumPy to compute row-wise statistics (mean, max, min) from 2D arrays and how to wrap that logic in reusable functions.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

Sadly, I don't know enough to try other approaches.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

I struggled a bit with Python indentation and understanding axis=1 in NumPy, but fixed it by carefully aligning blocks and testing patient_summary outputs until they matched the expected 60 values.

How were these changes tested?

I ran the notebook cells to print the first file, checked that patient_summary returned arrays of length 60 for each operation, and verified that detect_problems(all_paths) correctly returned False.

A reference to a related issue in your repository (if applicable)

N/A

Checklist

  • [X ] I can confirm that my changes are working as intended

Copy link
Copy Markdown

@monzchan monzchan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent Work! That's Perfect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants